home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d26 / pedhlp13.arc / BATCH < prev    next >
Text File  |  1991-06-14  |  2KB  |  47 lines

  1.         ■ USING PEDRAW IN BATCH MODE
  2.  
  3.         Usually PEDRAW is operated interactively from menus <MENU>. It
  4.         is also possible to run PEDRAW in batch mode so that it takes
  5.         all its entry from standard input, meaning that input can be
  6.         redirected into PEDRAW using DOS commands. The way to start
  7.         PEDRAW in batch mode is to give the name of a data file on the
  8.         command line e.g.: 
  9.  
  10.         PEDRAW EXPED.DAT
  11.  
  12.         The data file must exist and must have the extension .DAT or 
  13.         .SDF or .PED or .PPD so that PEDRAW knows what format to expect
  14.         <DATA>. PEDRAW then moves directly to the "Display pedigree"
  15.         option and awaits the input of the ID of an individual whose
  16.         descendants are to be displayed <DISPLAY>. However in batch mode
  17.         it is possible instead to enter flags at this point <FLAGS>.
  18.         PEDRAW carries on reading commands from standard input until
  19.         either there is an error, or until the end of the input file is
  20.         reached, or until an 'X' is input or until the /M flag is
  21.         selected. If the end of file is reached or an 'X' is input the
  22.         program exits, otherwise it just reverts back to ordinary menu-
  23.         driven operation <MENU>. To use PEDRAW with redirected input one
  24.         might run it like so: 
  25.  
  26.         PEDRAW EXPED.DAT < INPUT.JF
  27.  
  28.         Here INPUT.JF would contain a list of ID's and flags as follows:
  29.  
  30.         12880
  31.         13990
  32.         /l-2 /l-3 /f1out.msp /tRelatives of number 14001 /a
  33.         14001
  34.         x
  35.  
  36.         This would display the descendants of 12880 and 13990, saving
  37.         the diagrams to 12880.MSP and 13990.MSP, then would draw a
  38.         diagram of all the relatives of 14001 and save it in the file
  39.         1OUT.MSP with an appropriate title. The x at the end is not
  40.         strictly necessary but marks the end of file and quits PEDRAW.
  41.  
  42.         Note that in batch mode the normal editing keys do not work
  43.         (cursor keys, control-left-arrow, etc.).
  44.  
  45.  
  46. 
  47.